import routerPlaceholder from '../../views/layout/router-placeholder.vue'

let routers = {
  path: 'textures',
  name: 'textures',
  component: routerPlaceholder,
  redirect: {
    name: "textureTest"
  },
  children: [{
    path: 'test',
    name: 'textureTest',
    component: () => import('@/views/textures/test/index.vue'),
    meta: {
      activeMenu: 'textureTest',
      title: '测试',
      icon: 'textureTest',
      affix: true
    }
  },{
    path: 'fabric',
    name: 'fabric',
    component: () => import('@/views/textures/fabric/index.vue'),
    meta: {
      activeMenu: 'fabric',
      title: '材质纹理',
      icon: 'fabric',
      affix: true
    }
  },{
    path: 'groundImages',
    name: 'groundImagesX',
    component: () => import('@/views/textures/groundImages/index.vue'),
    meta: {
      activeMenu: 'groundImages',
      title: '贴地图像',
      icon: 'groundImages',
      affix: true
    }
  },{
    path: 'kriging',
    name: 'kriging',
    component: () => import('@/views/textures/kriging/index.vue'),
    meta: {
      activeMenu: 'kriging',
      title: 'kriging',
      icon: 'kriging',
      affix: true
    }
  },{
    path: 'lineMaterial',
    name: 'lineMaterial',
    component: () => import('@/views/textures/lineMaterial/index.vue'),
    meta: {
      activeMenu: 'lineMaterial',
      title: 'lineMaterial',
      icon: 'lineMaterial',
      affix: true
    }
  }]
}

export default routers
